<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<SampleWebSite.Models.Blogs.Post>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Blog Index</h2>
    
    <p>Post ID: <%= Model.PostID %></p>
    
    <p>Title: <%= Model.Title %></p>
    
    <%= MvcPatch.RouteExpression.GetRouteValues<SampleWebSite.Controllers.Blogs.PostController>(p => p.Detail(Model)).Count %>

</asp:Content>
